projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03afe9b
)
Use the right type when calling GtkWidget methods
author
Emmanuele Bassi
<ebassi@gnome.org>
Tue, 6 Dec 2022 21:49:22 +0000
(21:49 +0000)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Tue, 6 Dec 2022 21:50:30 +0000
(21:50 +0000)
Let's avoid complaints from the compiler.
gtk/gtklabel.c
patch
|
blob
|
history
diff --git
a/gtk/gtklabel.c
b/gtk/gtklabel.c
index 468ef2ae87d964e6e2c85971b3383fe8c32ee943..8ba764cf019c8489c5ebda64aad302501f9f7231 100644
(file)
--- a/
gtk/gtklabel.c
+++ b/
gtk/gtklabel.c
@@
-4232,7
+4232,7
@@
gtk_label_style_updated (GtkWidget *widget)
if (change == NULL || gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_FONT))
{
gtk_label_clear_layout (GTK_LABEL (widget));
- gtk_widget_queue_resize (
label
);
+ gtk_widget_queue_resize (
widget
);
}
if (change == NULL || gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_TEXT_ATTRS) ||